local sk__yingbing = fk.CreateSkill {

  name = "sk__yingbing",

  tags = {  },

}



sk__yingbing:addEffect(fk.FinishJudge, {
  anim_type = "offensive",
  can_trigger = function(self, event, target, player, data)
    return player:hasSkill(sk__yingbing.name) and target ~= player and data.card.color == Card.Black and
      not player:isProhibited(target, Fk:cloneCard("thunder__slash")) and player:usedSkillTimes(sk__yingbing.name, Player.HistoryTurn) == 0
  end,
  on_cost = function(self, event, target, player, data)
    return player.room:askForSkillInvoke(player, sk__yingbing.name, nil, "#sk__yingbing-invoke::"..target.id)
  end,
  on_use = function(self, event, target, player, data)
    player.room:useVirtualCard("thunder__slash", nil, player, target, sk__yingbing.name, true)
  end,
})

return sk__yingbing